import request from "@/utils/request.js";

export const getBannerImg = (distributionSite="1") =>
  request('/home/banner', { params: { distributionSite } })

export const getHomeNew = (limit) =>
  request('/home/new', { params: { limit } })

export const getHomeHot = () =>
  request('/home/hot')

export const getHomeProduct = () =>
  request('home/goods')
